kim@catbirdstats.com
2024-03-15
No matter what you want to do, you need to get comfortable with a few basics first:
(so you can take notes in the R files that generated them, and render a complete document for yourself later)
getwd()/setwd()here::here()' Single quote" Double quote/ Forward Slash\ Backslash() Parentheses[] Square brackets{} Curly braces<-|> or %>%#Ctrl/Cmd + Enter<-): Alt + -|>): Ctrl/Cmd + Shift + M$ — df$column.name[rows, columns] — df[1:6, 1:2]dplyr::select() — select(df, column.name1, column.name2)dplyr::filter() — filter(df, year >= 2015)2024 TTW